<?php

if(!count($admin)==0){
    echo ' ';
    foreach($admin as $link){
        if($link <> 'Pages'){
		$newl="__(".$link.")";
            echo '['.$html->link(__($link,true),'/'.$link).']  ';
        }
    }
  
   
 echo '  ';
}
 ?>
			
			[<?php if(isset($Auth)){
    echo $html->link('['.$Auth['User']['username'].'] خروج',array('controller'=>'users','action'=>'logout'));
    //$user = $this->Session->read('username'); 
    //echo $user;
}
else {

echo $html->link(' دخول',array('controller'=>'users','action'=>'login'));

}





?>
